package com.jinglu.cloud.common.model.enums;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
public enum YesOrNo implements BaseEnum {
    NO("0", "否"),
    Yes("1", "是");
    private String code;

    private String name;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }
}
